@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal"  id="pfFileInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6">
                    <#input id="name" name="名称"/>
                    <#select id="type" name="类型">
                    <option value="1">图片</option>
                    <option value="2">视屏</option>
                    </#select>
                    <div id="isRadio">
                    <#select id="subtype" name="子类型">
                        <option value="">请选择</option>
                        <option value="1">广告图片</option>
                        <option value="2">调查问卷</option>
                        <option value="3">奖品图片</option>
                        <option value="4">答案图片</option>
                        <option value="10">系统图片</option>
                    </#select>
                    </div>
                    <div>
                    <div id="pfFile">
                    <#avatar id="avatar" name="图片" underline="true" avatarImg=""/>
                    </div>
                    <div id="rfFile">
                        <form id="radioFile" style="display: none" enctype="multipart/form-data">
                            <input type="file" name="radioFile" style="margin-left:29%">
                        </form>
                    </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div id="timeLong" style="display: none">
                    <#input id="time" name="时长(s)"/>
                    <#input id="width" name="宽度"/>
                    <#input id="length" name="高度"/>
                    </div>
                    <#input id="remark" name="备注" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PfFileInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PfFileInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/wz/pfFile/pfFile_info.js"></script>
@}
